package cn.xiaohuodui.form;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class BackPageForm {
    @NotNull
    @Min(0)
    protected int offset = 0;
    //每页显示条数
    @NotNull
    @Min(1)
    protected int limit = 20;
}
